/**
 * Created by wxl on 2016/12/19.
 */
import * as types from './types'
var api=require("../api/tool.js")
export const getSearchData= (keyword,start) =>{
  //  console.log("actions===>search ==>"+start+"====>line7");
    return {
        type: types.SEARCH_DATA,
        promise: api.getSourceData("api/getArticles/"+keyword+"/15/"+start)
    }
}